Prompt Expansion for Adaptive Text-to-Image Generation